<%@ taglib uri="/WEB-INF/tld/struts-bean.tld/" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tld/struts-html.tld/" prefix="html" %>
<%@ taglib uri="/WEB-INF/tld/struts-logic.tld/" prefix="logic" %>

<table class="header" border="0">
  <tr>
    <td>
      <table border="0">
        <tr>
          <td><h1><bean:message key="header.empresa" /></h1></td>
        </tr>
        <tr>
          <td><h2><bean:message key="header.sistema" /> <bean:message key="header.subsistema" /></h2></td>
        </tr>
      </table>
    </td>

    <td class="logo">
      <img src="img/logo1.png" alt="Logo de PMT" /> 
    </td>
  </tr>
  <tr class="divisionBar">
    <td class="smallBoldText" align="left">
      <bean:message key="header.usuario"/>:&nbsp;
      <strong><bean:write name="usuario" property="nombre" scope="session"/></strong>
      |
      <bean:message key="header.perfil" />:&nbsp;<strong><bean:write name="usuario" property="descripcionPerfil" scope="session"/></strong>
    </td>
    <td align="right" >
      <a href="#" onclick="window.location.href='logout.do'"><bean:message key="header.salir"/>&nbsp;&nbsp;</a>
    </td>
  </tr>
</table>